package com.gmadmin.gmmbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * <p>
 * 
 * </p>
 *
 * @author micheal yang
 * @since 2025-09-25
 */
@Getter
@Setter
@ToString
@TableName("sys_user")
@Accessors(chain = true)
@Schema(name = "SysUser", description = "")
public class SysUser extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 账号
     */
    @Schema(description = "账号")
    private String username;

    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickName;

    /**
     * 密码
     */
    @Schema(description = "密码")
    private String password;

    /**
     * 状态：1：正常，0：停用
     */
    @Schema(description = "状态：1：正常，0：停用")
    private Integer status;
}
